package com.jdrx.sw.sewage.beans.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * sewage_gather_dev_storage
 */
@Data
@ApiModel(value = "DevStorageTypeVO", description = "资产入库")
public class DevStorageTypeVO {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "设备照片")
    private String attach;

    @ApiModelProperty(value = "物料类型id")
    private Long materielId;

    @ApiModelProperty(value = "物料类型名称")
    private String materielName;

    @ApiModelProperty(value = "设备品类id")
    private Long categoryId;

    @ApiModelProperty(value = "生产厂家id")
    private String factoryIds;

    @ApiModelProperty(value = "设备品类名称")
    private String categoryName;

    @ApiModelProperty(value = "采购时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date purchaseTime;

    @ApiModelProperty(value = "设备规格")
    private String dossierSpec;

    @ApiModelProperty(value = "入库时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createAt;

    @ApiModelProperty(value = "备件数")
    private Integer attachmentNum;

    @ApiModelProperty(value = "使用数")
    private Integer useNum;

    @ApiModelProperty(value = "报废数")
    private Integer scrapNum;
}